package com.oracle.vo;

import java.io.Serializable;
import java.util.List;

public class PageVo<T> implements Serializable{
	
	private Integer pageIndex;
	
	private Integer pageSize;
	
	private Integer pageTotal;
	
	private Integer dataTotal;
	
	private List<T> objList;

	public Integer getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(Integer pageIndex) {
		this.pageIndex = pageIndex;
	}

	public Integer getpageSize() {
		return pageSize;
	}

	public void setpageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageTotal() {
		return pageTotal;
	}

	public void setPageTotal(Integer pageTotal) {
		this.pageTotal = pageTotal;
	}

	public Integer getDataTotal() {
		return dataTotal;
	}

	public void setDataTotal(Integer dataTotal) {
		this.dataTotal = dataTotal;
	}

	public List<T> getObjList() {
		return objList;
	}

	public void setObjList(List<T> objList) {
		this.objList = objList;
	}

	public PageVo(Integer pageIndex, Integer pageSize, Integer pageTotal, Integer dataTotal, List<T> objList) {
		super();
		this.pageIndex = pageIndex;
		this.pageSize = pageSize;
		this.pageTotal = pageTotal;
		this.dataTotal = dataTotal;
		this.objList = objList;
	}

	public PageVo() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "PageVo [pageIndex=" + pageIndex + ", pageSize=" + pageSize + ", pageTotal=" + pageTotal
				+ ", dataTotal=" + dataTotal + ", objList=" + objList + "]";
	}


}
